<%@ page language="java" import="java.util.*" pageEncoding="Utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>jb-aptech毕业设计项目</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="<%=basePath%>crm_demo/html/css/style.css" rel="stylesheet" type="text/css">
<script src="<%=basePath%>crm_demo/html/script/common.js"></script>
</head>
<body>
<s:set name="marId"><s:property value="#session.marId"/></s:set>
<div class="page_title">客户开发计划 &gt; 查看</div>
<div class="button_bar">
	<button class="common_button" onclick="help('');">帮助</button>
	<button class="common_button" onclick="back();">返回</button>
	</div>
<table class="query_form_table">
	
<s:iterator value="#session.desList" status="index" var="mar" >
<s:if test="market.marketId==#marId">

	<tr>
		<th>编号</th>
		<td><s:property value="despatchId"/></td>
		<th>机会来源</th>
		<td><s:property value="market.changeSource"/>
			　</td>
	</tr>
	<tr>
		<th>客户名称</th>
		<td><s:property value="market.cusName"/></td>
		<th>成功机率（%）</th>
		<td><s:property value="market.odds"/></td>
	</tr>	
	<tr>
		<th>概要</th>
		<td colspan="1"><s:property value="market.outLine"/></td>
		<th>状态</th>
		<td colspan="1"><span class="red_star"><s:property value="market.statue.dicName"/></span></td>
	</tr>
	<tr>
		<th>联系人</th>
		<td><s:property value="market.connPeop"/></td>
		<th>联系人电话</th>
		<td><s:property value="market.connTel"/></td>
	</tr>
	<tr>
		<th>机会描述</th>
		<td colspan="3"><textarea  rows="6" cols="50" readonly name="market.describe" ><s:property value="describe"/></textarea></td>
	</tr>
	<tr>
		<th>创建人</th>
		<td><s:property value="market.createManager"/></td>
		<th>创建时间</th>
		<td><s:property value="market.createDate "/></td>
	</tr>
	<tr>
		<th>指派给</th>
		<td>
			<s:property value="user.userName"/></td>
		<th>指派时间</th>
		<td>
			<s:property value="desDate"/></td>
	</tr>
	</s:if>
</s:iterator>

</table>
<br />
<table class="data_list_table" id="table1">
	<tr>
		<th>日期</th>
		<th>计划</th>
		<th>执行效果</th>
	</tr>
	<s:iterator value="#session.planList" status="index" var="planObj" >
	<s:if test="market.marketId==#marId">
	<tr>
		<td class="list_data_text" height="24"><s:property value="planDate"/></td>
		<td class="list_data_ltext" height="24"><s:property value="plan"/></td>
		<td>
	<s:property value="planId"/>
		</td>
	</tr>
	</s:if>
	</s:iterator>
	</table>
</body>
</html>